﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace GameSite.Models
{
    public class NewsDispViewModel : INewsDispInfo
    {
        public int ID { get; set; }
        public int CategoryID { get; set; }
        public string ImageTitle { get; set; }
        public string Title { get; set; }
        public string ShortTitle { get; set; }
        public string Content { get; set; }
        public string CreateBy { get; set; }
        public DateTime CreateTime { get; set; }
    }


    public interface INewsDispInfo
    {
        int ID { get; set; }
        int CategoryID { get; set; }
        string ImageTitle { get; set; }
        string Title { get; set; }
        string ShortTitle { get; set; }
        string Content { get; set; }
        string CreateBy { get; set; }
        DateTime CreateTime { get; set; }
    }
}